package com.ok.chapter13.async;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class AsyncServiceImpl implements AsyncService {
    @Override
    @Async
    public void findUserByName(String name) {
        System.out.println("[ "+Thread.currentThread().getName()+ " ]");

    }
}
